Skip to content

[Cases] Generate cases API docs and zod schemas on the CI#250913

Merged
janmonschke merged 21 commits intoelastic:mainfrom
janmonschke:cases/generate-api-docs-on-ci
Feb 17, 2026
Merged

[Cases] Generate cases API docs and zod schemas on the CI#250913
janmonschke merged 21 commits intoelastic:mainfrom
janmonschke:cases/generate-api-docs-on-ci

Conversation

@janmonschke
Copy link
Copy Markdown
Contributor

@janmonschke janmonschke commented Jan 29, 2026

Summary

Depends on #250857

Adds a new step to the CI that generates zod schemas from the API yaml specifications

@janmonschke janmonschke added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:Cases Security Solution Cases team labels Feb 12, 2026
@janmonschke janmonschke marked this pull request as ready for review February 12, 2026 14:30
@janmonschke janmonschke requested review from a team as code owners February 12, 2026 14:30
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-cases (Team:Cases)

- high
- low
- medium
default: low No newline at end of file
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elastic/experience-docs There is an open issue for adding support for defaults in enums (#188897). Right now it is not supported yet.

@janmonschke
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

Copy link
Copy Markdown
Member

@lcawl lcawl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A drive-by comment that it would be nice to have descriptions for the error, message, and statuscode properties, since I think we'll eventually be generating reports for all missing descriptions. But otherwise LGTM

@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Feb 17, 2026

💔 Build Failed

Failed CI Steps

Metrics [docs]

✅ unchanged

History

@janmonschke janmonschke enabled auto-merge (squash) February 17, 2026 17:32
Copy link
Copy Markdown
Contributor

@michaelolo24 michaelolo24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for integrating this with CI!

@janmonschke janmonschke merged commit e567121 into elastic:main Feb 17, 2026
16 checks passed
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Feb 19, 2026
…0913)

## Summary

Depends on elastic#250857

Adds a new step to the CI that generates zod schemas from the API yaml
specifications

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
ersin-erdal pushed a commit to ersin-erdal/kibana that referenced this pull request Feb 19, 2026
…0913)

## Summary

Depends on elastic#250857

Adds a new step to the CI that generates zod schemas from the API yaml
specifications

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Cases Security Solution Cases team v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants